Skip to content

Files

Annotations as JSON stream and file

Export and import annotations in a PDF document as JSON stream and file

Sample to export and import annotations to a PDF document. Here, the annotations will be exported to a JSON stream as well as a file and then imported back to the PDF document on button clicks.

Note: Existing annotations need to be deleted if importing to the same PDF document.

Documentation: https://blazor.syncfusion.com/documentation/pdfviewer-2/annotation/import-export-annotation

Project pre-requisites

To run this application, you need Visual Studio 2019 or later versions.

Deploying and running the sample

To debug while running the application, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.